package com.koron.operation.startlog.mapper;

import com.koron.operation.startlog.bean.StartLogChangeBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: rocky
 * @Date: 2022/2/18 17:17
 */
public interface StartLogChangeBeanMapper {
    int deleteByPrimaryKey(String id);

    int insert(StartLogChangeBean record);

    int insertSelective(StartLogChangeBean record);

    StartLogChangeBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(StartLogChangeBean record);

    int updateByPrimaryKey(StartLogChangeBean record);

    //查询原日志 待批复的 数据
    List<StartLogChangeBean> queryAllBySourceId(@Param("sourceId") String sourceId);

    List<StartLogChangeBean> queryAllBySourceIdWait(@Param("sourceId") String sourceId);

}
